﻿@model HotelManageSystem.Models.ClientInfoModel
@{
    ViewBag.Title = "FillUpAForm";
    Layout = "~/Views/Shared/_Template3.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="../../Scripts/jquery.validate.js" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <div style="height: 40px">
    </div>
    <fieldset>
        <legend>------请仔细填写您的详细信息！</legend>
        <div style="width: 6%; float: left;height: 20px" align="left">
        </div>
        <div style="width: 40%; float: left" align="left">
            <div style="height: 40px">
            </div>
            <br />
            <div>
                客户编名： @Html.Label("hotelingId", Session["clientId"].ToString())
                @Html.ValidationMessageFor(model => model.ID)
            </div>
            <br />
            <div>
                房间编号： @Html.Label(Session["roomId"].ToString())
            </div>
            <br />
            <div>
                &nbsp;&nbsp;姓 名 ： @Html.EditorFor(model => model.Name)
                @Html.ValidationMessageFor(model => model.Name)
            </div>
            <br />
            <div>
                &nbsp;&nbsp;性 别 ：@Html.RadioButton("sex", "男", true) 男&nbsp;&nbsp;@Html.RadioButton("sex", "女")
                女 &nbsp;&nbsp;@Html.ValidationMessageFor(model => model.Sex)
            </div>
            <br />
            <div>
                客户类型：@Html.DropDownList("ClientType")
            </div>
            <br />
            <div>
                证件类型：@Html.DropDownList("CertificateType")
               
            </div>
            <br />
            <div>
                证件号码：@Html.EditorFor(model => model.CertID)
                @Html.ValidationMessageFor(model => model.CertID)
            </div>
            <br />
            <div>
                家庭住址：@Html.EditorFor(model => model.Address)
                @Html.ValidationMessageFor(model => model.Address)
            </div>
            <br />
            <div>
                现居住地：@Html.EditorFor(model => model.PresentAddress)
                @Html.ValidationMessageFor(model => model.PresentAddress)
            </div>
            <br />
            <br />
            <br />
        </div>
        <div style="width: 6%; float: left;height:100px " align="left">
            @*<hr color="#cccccc " size="400 " style="width: 0.1px" />*@
        </div>
        <div style="width: 40%; float: left" align="left">
            <div style="height: 40px">
            </div>
            <br />
            <div >
                联系方式：@Html.EditorFor(model => model.Telphone)
                @Html.ValidationMessageFor(model => model.Telphone)
            </div>
            <br />
            <div>
                目前职业：@Html.EditorFor(model => model.Vocation)
                @Html.ValidationMessageFor(model => model.Vocation)
            </div>
            <br />
            <div>
                公司名称：@Html.EditorFor(model => model.CompanyName)
                @Html.ValidationMessageFor(model => model.CompanyName)
            </div>
            <br />
            <div>
                出生日期:@Html.EditorFor(model => model.Birthday)
                @Html.ValidationMessageFor(model => model.Birthday)
            </div>
            <br />
            <div>
                入住定金：@Html.EditorFor(model => model.AdvancePayment)
                @Html.ValidationMessageFor(model => model.AdvancePayment)
            </div>
            <br />
            <div>
                入住天数：@Html.EditorFor(model => model.HotelingDays)
                @Html.ValidationMessageFor(model => model.HotelingDays)
            </div>
            <br />
            <div>
                是否冻结：@Html.EditorFor(model => model.IsFreeze)
                @Html.ValidationMessageFor(model => model.IsFreeze)
            </div>
            <br />
            <div>
                客户备注：@Html.EditorFor(model => model.Memo)
                @Html.ValidationMessageFor(model => model.Memo)
            </div>
            <br />
        </div>
        <br />
    </fieldset>
    <br />
    <p id="submitInfo">
        &nbsp;&nbsp;&nbsp;
        <input id="submitClientInfo" type="submit" value=" 提交客户信息 " />
    </p>
    <div style="text-align: right; font-size: 20px">
        @Html.ActionLink("返回首页", "Index", "Room")
    </div>
}
<input type="hidden" id="roomType" value= @Session["roomTypeId"]/>
